<template>
  <div class="deviceFlowChart">
    设备流程图
    <div id="deviceBox"></div>
  </div>
</template>

<script setup lang="tsx">
import { onMounted } from 'vue';

import { createFlowChartFn } from './deviceFlowChart';

onMounted(() => {
  initMyFlowChartFn();
});

// ---------自定义设备流程图相关------------
function initMyFlowChartFn() {
  createFlowChartFn(`#deviceBox`);
}
// ---------自定义设备流程图相关------------end
</script>

<style lang="less" scoped>
.deviceFlowChart {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #2228;
}
</style>
